import request from '@/utils/request'

export function rfidList(data) {
  return request({
    url:
      '/lockItem/chainList',
    method: 'post',
    data: data
  })
}

export function getMedicalHversionList(data) {
  return request({
    url:
      '/lockItem/getMedicalHversionList',
    method: 'post',
    data: data
  })
}

export function getMedicalDversionList(data) {
  return request({
    url:
      '/lockItem/getMedicalDversionList',
    method: 'post',
    data: data
  })
}

export function deleteMedicalLock(data) {
  return request({
    url:
      '/lockItem/deleteMedicalLock',
    method: 'post',
    data: data
  })
}

export function changeMedicalLockState(data) {
  return request({
    url:
      '/lockItem/changeMedicalLockState',
    method: 'post',
    data: data
  })
}

export function addMedicalLock(data) {
  return request({
    url:
      '/lockItem/addMedicalLock',
    method: 'post',
    data: data
  })
}

export function medicalLockList(data) {
  return request({
    url:
      '/lockItem/medicalLockList',
    method: 'post',
    data: data
  })
}

export function rfidCommodityList(data) {
  return request({
    url:
      '/lockItem/rfidCommodityList',
    method: 'post',
    data: data
  })
}

export function changeRFIDCommodityState(data) {
  return request({
    url:
      '/lockItem/changeRFIDCommodityState',
    method: 'post',
    data: data
  })
}

export function changeRFIDCommodityRFID(data) {
  return request({
    url:
      '/lockItem/changeRFIDCommodityRFID',
    method: 'post',
    data: data
  })
}

export function deleteRFIDCommodity(data) {
  return request({
    url:
      '/lockItem/deleteRFIDCommodity',
    method: 'post',
    data: data
  })
}

export function addRFIDCommodity(data) {
  return request({
    url:
      '/lockItem/addRFIDCommodity',
    method: 'post',
    data: data
  })
}

export function changeRFIDState(data) {
  return request({
    url:
      '/lockItem/changeRFIDState',
    method: 'post',
    data: data
  })
}

export function replaceRFID(data) {
  return request({
    url:
      '/lockItem/replaceRFID',
    method: 'post',
    data: data
  })
}

export function deleteRFID(data) {
  return request({
    url:
      '/lockItem/deleteRFID',
    method: 'post',
    data: data
  })
}

export function deleteControl(data) {
  return request({
    url:
      '/lockItem/deleteControl',
    method: 'post',
    data: data
  })
}

export function addRFID(data) {
  return request({
    url:
      '/lockItem/addRFID',
    method: 'post',
    data: data
  })
}

export function controlList(data) {
  return request({
    url:
      '/lockItem/controlList',
    method: 'post',
    data: data
  })
}

export function changeControlState(data) {
  return request({
    url:
      '/lockItem/changeControlState',
    method: 'post',
    data: data
  })
}

export function getAllDsc() {
  return request({
    url:
      '/lockItem/getAllDsc',
    method: 'post'
  })
}

export function addControl(data) {
  return request({
    url:
      '/lockItem/addControl',
    method: 'post',
    data: data
  })
}

export function bargunList(data) {
  return request({
    url:
      '/lockItem/bargunList',
    method: 'post',
    data: data
  })
}

export function deleteBargun(data) {
  return request({
    url:
      '/lockItem/deleteBargun',
    method: 'post',
    data: data
  })
}

export function addBargun(data) {
  return request({
    url:
      '/lockItem/addBargun',
    method: 'post',
    data: data
  })
}

export function changeBargunState(data) {
  return request({
    url:
      '/lockItem/changeBargunState',
    method: 'post',
    data: data
  })
}
